package com.aizuda.boot.modules.business.employee.service.impl;

import com.aizuda.boot.modules.business.permission.domain.entity.DepartmentEmployeeRelEntity;
import com.aizuda.boot.modules.business.employee.mapper.DepartmentEmployeeRelMapper;
import com.aizuda.boot.modules.business.employee.service.DepartmentEmployeeRelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartmentEmployeeRelServiceImpl extends ServiceImpl<DepartmentEmployeeRelMapper, DepartmentEmployeeRelEntity> implements DepartmentEmployeeRelService {
    @Override
    public List<DepartmentEmployeeRelEntity> listDepartmentIdsByEmployeeId(Long employeeId) {
        return baseMapper.listDepartmentIdsByEmployeeId(employeeId);
    }
}